home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 17 / Hot Mix 17.iso / HM17_SGI / research / examples / demo / demotext / mathstat.txt < prev    next >
Text File  |  1997-07-08  |  4KB  |  128 lines

  1.  
  2.  
  3.     WELCOME TO THE MATHEMATICS AND STATISTICS DEMO 
  4.  
  5.  
  6.    IDL's mathematics and statistics tools are designed
  7.    for use in a wide variety of disciplines. This demo
  8.    introduces 6 features.
  9.  
  10.  
  11.    MENU OPTIONS
  12.    ------------
  13.  
  14.    File Menu:
  15.       Select "Quit" to exit the Mathematics and 
  16.       Statistics Demo and return to the IDL Demo
  17.       main screen.
  18.  
  19.    About Menu:
  20.       Select "About mathematics and statistics" for
  21.       information about the Mathematics and Statistics
  22.       Demo.
  23.  
  24.  
  25.    FEATURES
  26.    --------
  27.  
  28.    <<Integration>> radio button
  29.  
  30.       The INT_TABULATED function uses a fifth-order 
  31.       Newton-Cotes integration formula and 
  32.       neighborhood spline curve-fitting to produce 
  33.       integrations of tabulated data (discrete 
  34.       points). This is one of the most accurate 
  35.       integration techniques available.
  36.  
  37.       area = INT_TABULATED(time, amplitude)
  38.  
  39.       You can also use IDL to integrate functions 
  40.       that have algebraic singularities and asymptotic
  41.       behavior.
  42.  
  43.       <<Generate new data>> button
  44.          Creates a new set of data.
  45.  
  46.    <<Solving Equations>> radio button
  47.  
  48.       Dozens of "Numerical Recipes" library routines 
  49.       for performing complex mathematical computations
  50.       are integrated into IDL.
  51.  
  52.       For example, the NR_NEWT function solves systems
  53.       of non-linear equations. Multiple solutions can
  54.       be found by starting the NR_NEWT algorithm at 
  55.       different initial values. The black markers show
  56.       the locations of the initial guesses. The white 
  57.       markers show the solutions to the non-linear
  58.       system of equations.  The solutions lie on the 
  59.       intersection of the three surfaces:
  60.  
  61.       z = -(x*x - y - 4) (Bottom surface - blue)
  62.       z = 0              (Middle surface - green)
  63.       z = x*x + y*y - 8  (Top surface - red)
  64.  
  65.       The Numerical Recipes algorithms are used by 
  66.       permission and are taken from the book 
  67.       "Numerical Recipes in C, The Art of Scientific
  68.       Computing" (second edition) by: William H. Press,
  69.       Saul A. Teukolsky, William T. Vetterling, and
  70.       Brian P. Flannery.
  71.  
  72.  
  73.    <<Minimization>> radio button
  74.  
  75.       The IDL Numerical Recipies routine NR_POWELL can 
  76.       be used to find the local minimum of a function 
  77.       of 'n' variables. In this demo, clicking on the 
  78.       plot identifies the nearest local minimum of the 
  79.       function:
  80.  
  81.       y=SIN(SIN(x^2)-COS(x))+COS(SIN(x)+SIN(x)^2)']
  82.  
  83.  
  84.    <<Linear regression>> radio button
  85.  
  86.       The "Method of Least Absolute Deviation" (the 
  87.       plot on the right) is used to accurately fit a 
  88.       curve through data. This curve fitting method, 
  89.       unlike "least-square" fitting (the plot on the 
  90.       left) is not adversely affected by outlying 
  91.       points.
  92.  
  93.       <<Number of Points Above>> slider
  94.          Sets the number of outliers above the 
  95.          main cluster.
  96.  
  97.       <<Number of Points Below>> slider
  98.          Sets the number of outliers below the
  99.          main cluster.
  100.  
  101.    <<Polynomial Fit>> radio button
  102.  
  103.       The "POLY_FIT" function fits a least-square 
  104.       polynomial curve through scattered data points.
  105.  
  106.       <<Number of points>> slider
  107.          Sets the number of data points.
  108.  
  109.       <<Degree>> slider
  110.          Sets the polynomial degree.
  111.  
  112.    <<Surface Fit>> radio button
  113.        The MIN_CURVE_SURF function can be used to fit a
  114.        minimum curvature surface through irregularly-
  115.        gridded 3D data.
  116.  
  117.        <<Number of Points>>
  118.           Sets the number of data points.
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.